package zheezes.swt.util;

import org.eclipse.swt.widgets.Table;
import org.eclipse.swt.widgets.TableColumn;

public class TableUtil {
	public static final void split(Table table) {
		int width = table.getSize().x / table.getColumnCount();
		for (TableColumn column : table.getColumns()) {
			column.setWidth(width);
		}
	}
}
